package com.ls.lserp.modules.finance.dao;





import java.util.List;

import com.ls.lserp.common.persistence.CrudDao;
import com.ls.lserp.common.persistence.annotation.MyBatisDao;
import com.ls.lserp.dbaccess.Entity.FinanceEntity;
import com.ls.lserp.dbaccess.Entity.OgnizationSettlementEntity;
import com.ls.lserp.modules.finance.entity.InitFinance;
import com.ls.lserp.modules.setting.entity.Ognization;

@MyBatisDao
public interface InitFinanceDao extends CrudDao<OgnizationSettlementEntity>{
	/**
	 * 获取机构集
	 * 
	 * @return
	 */
	public List<Ognization> findOgnizationList();
	/**
	 * 查询机构信息
	 * 
	 * @return
	 */
	public FinanceEntity getOgnizationInfo(FinanceEntity financeEntity);
	/**
	 * 获取会计科目集
	 * 
	 * @return
	 */
	public List<InitFinance> findItemList();
	
	/**
	 * 查存
	 * 
	 * @return
	 */
	public OgnizationSettlementEntity getByOgnizationId(long ognizationId);
	
	/**
	 * 插入集合
	 */
	public int insertList(OgnizationSettlementEntity settlementEntity);
	
	/**
	 * 获取一览数据
	 * 
	 * @return
	 */
	public List<OgnizationSettlementEntity> findListByOgnization(OgnizationSettlementEntity settlementEntity);
	
}
